<%@ page import="java.util.*" %>

<html>
<body>
<h1 align="center">Beer Recommendations JSP</h1>
<p>

<%
    List styles = (List)request.getAttribute("styles");
    Iterator it = styles.iterator();
    while(it.hasNext())
      {
        out.print("<br>try: " + it.next());
      }
%>

<br><br>

<%
 	String[] sizes = (String[])request.getAttribute("displaySizes");
	for(int i = 0; i < sizes.length; i++)
	{
		out.print("<br>Chose size: " + sizes[i]);
	}
%>

<p>
<%
	String ver = (String)request.getAttribute("version");
	out.print("BeerSelection version: " + ver);
%>
</p>

</body>
</html>